package com.fh.service.impl;

import com.fh.mapper.IndexImgMapper;
import com.fh.model.IndexImg;
import com.fh.service.QueryImgService;
import jdk.nashorn.internal.ir.annotations.Reference;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class QueryImgServiceImpl implements QueryImgService {

    @Resource
    private IndexImgMapper indexImgMapper;

    @Override
    public List<IndexImg> queryImg() {

        return indexImgMapper.query();
    }
}
